import sqlite3
import os
db = sqlite3.connect(os.path.dirname(__file__) + "/test.db")
db.execute("CREATE TABLE 'xf' ('id'  INTEGER NOT NULL,'content'  TEXT,'options'  TEXT,'type'  INTEGER,'answerNo'  TEXT,PRIMARY KEY ('id'));")
db.commit()
db.close()